﻿using Furion.DatabaseAccessor;
using System;
using System.ComponentModel.DataAnnotations;

namespace KseCms.Core
{
    public class Payment:IEntity
    {
        [Key]
        [MaxLength(50)]
        public string Id { get; set; }

        [Required]
        [MaxLength(50)]
        public string OrderId { get; set; }

        public int PaymentMethod { get; set; }

        public int Status { get; set; }

        public DateTime CreatedTime { get; set; } = DateTime.Now;

        public DateTime UpdatedTime { get; set; } = DateTime.Now;
    }
}
